package org.net.cms.service.student;

import org.net.cms.controller.admin.student.vo.StudentReqVO;
import org.net.cms.dao.StudentDto;

import java.util.List;

public interface StudentService {

    Boolean update(StudentReqVO studentReqVO);

    Boolean delete(int id);

    StudentDto findById(int id);

    List<StudentDto> findAll();

    // 查找当前家长的孩子列表
    List<StudentDto> findMyStudents(int id);

    int getParentId(String phone);
}
